<% form_for :report_input, @report, :url => {:action => 'show', :id => @report}, :html => {:id => "form_input"} do |f|%>

  <%= render :inline => @report.erb_report_input,
           	 :locals => { :@report_input => @report_input } %>

  <%= submit_tag 'Create Report' %> 
<% end %> 